
public class Test {
    //阿里巴巴
    public static void main(String[] args) {
        Integer a = 100;
        Integer b = 100;
        System.out.println(a == b);

        Integer c = 200;
        Integer d = 200;
        System.out.println(c == d);
    }


    public static void main2(String[] args) {
        Integer a = 10;
        int b = a; //自动的

        int c = a.intValue(); //手动的

        double d = a.doubleValue();

        System.out.println(a);
        System.out.println(b);
        System.out.println(c);
        System.out.println(d);

    }
    public static void main1(String[] args) {
        int a = 10;
        Integer i = Integer.valueOf(a);//显示装箱
        Integer i2 = 10; //

        Double d = Double.valueOf(a);

        System.out.println(i);
        System.out.println(i2);
    }
}

